package org.fuxian.model;

public class Violation {
    private Integer id;

    private String violationType;

    private String violationLocation;

    private String violationDate;

    private String violationInfo;

    private Integer vehicleId;

    private Integer flag;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getViolationType() {
        return violationType;
    }

    public void setViolationType(String violationType) {
        this.violationType = violationType == null ? null : violationType.trim();
    }

    public String getViolationLocation() {
        return violationLocation;
    }

    public void setViolationLocation(String violationLocation) {
        this.violationLocation = violationLocation == null ? null : violationLocation.trim();
    }

    public String getViolationDate() {
        return violationDate;
    }

    public void setViolationDate(String violationDate) {
        this.violationDate = violationDate == null ? null : violationDate.trim();
    }

    public String getViolationInfo() {
        return violationInfo;
    }

    public void setViolationInfo(String violationInfo) {
        this.violationInfo = violationInfo == null ? null : violationInfo.trim();
    }

    public Integer getVehicleId() {
        return vehicleId;
    }

    public void setVehicleId(Integer vehicleId) {
        this.vehicleId = vehicleId;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag ;
    }
}